//
//  IWTabBar.h
//  ItcastWeibo
//
//  Created by apple on 14-5-5.
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZZTabBar;

@protocol ZZTabBarDelegate <NSObject>

@optional
- (void)tabBar:(ZZTabBar *)tabBar didSelectedButtonFrom:(NSInteger)from to:(NSInteger)to;
- (void)tabBarDidClickedPlusButton:(ZZTabBar *)tabBar;

@end

@interface ZZTabBar : UIView
- (void)addTabBarButtonWithItem:(UITabBarItem *)item; 
@property (nonatomic, weak) id<ZZTabBarDelegate> delegate;

@end
